/**
 * 
 */
package com.pmsco.pms.core.dao;

import java.util.List;

import com.pmsco.pms.core.domain.PmsPermissionRole;

/**
 * @author Tran Thanh Long
 *
 */
public interface PmsPermissionRoleDao {
	public void saveOrUpdatePmsPermissionRole(PmsPermissionRole pmsPermissionRole);
	public List<PmsPermissionRole> listPmsPermissionByRole(PmsPermissionRole searchTemplate);
	public List<PmsPermissionRole> loadPmsPermissionRoleByPermissionId(Long permissionId);
	public List<PmsPermissionRole> loadPmsPermissionRoleByName(String name);
	public PmsPermissionRole loadPmsPermissionRole(PmsPermissionRole searchTemplate);
	public void deletePmsPermissionRole(PmsPermissionRole pmsPermissionRole);
}
